<form id="sortrankform" action="{:U('form/sortrankupdate')}" method="post">
    <table cellpadding="0" cellspacing="0" width="100%" class="table_list">
        <tr class="title" align="center">
            <td>ID</td>
            <td>选择</td>
            <volist name="head_list" id="vo">
                <td>{$vo['name']}</td>
            </volist>
            <td>内容模型</td>
            <td>所属栏目</td>
            <td>审核状态</td>
            <td>属性</td>
            <td>权重</td>
            <td>操作</td>
        </tr>
        <volist name='list' id='arcArr'>
            <tr class="tr_line">
                <td colspan="20">
                    <div></div>
                </td>
            </tr>
            <tr align="left">
                <td>{$arcArr['id']}</td>
                <td><input type="checkbox" name="_check[]" value="{$arcArr['id']}"></td>
                <volist name="head_list" id="vo">
                    <td>{$arcArr[$vo['value']]}</td>
                </volist>
                <td>{:getChannelName($arcArr['channel'])}</td>
                <td>{:getArctypeName($arcArr['typeid'])}</td>
                <td>{:checkStatus($arcArr['status'])}</td>
                <td>{$arcArr['addattr']}</td>
                <td><input type="text" class="text orderid" value="{$arcArr['sortrank']}" maxlength='3' style="width:20px;" name="{$arcArr['channel']}_{$arcArr['id']}"/></td>
                <td width="150px">
                    <a href="http://{:C('currentSite.host')}:{:C('currentSite.port')}{:contentUrl($arcArr['id'],$arcArr['channel'],'home')}" target="_blank">预览</a>
                    <?php
                        if(Permission::check($arcArr['typeid'],"r")){
                    ?>
                    | <a href="edit?aid={$arcArr['id']}&cid={$arcArr['channel']}&read=1">查看</a>
                    <?php }?>
                    <?php
                        if(Permission::check($arcArr['typeid'],"w")){
                    ?>
                    | <a href="edit?aid={$arcArr['id']}&cid={$arcArr['channel']}">修改</a>
                    | <a href="javascript:openpanel('del',{$arcArr['id']})">删除</a>
                    <?php }?>
                </td>
            </tr>
        </volist>
    </table>
</form>